<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns="http://www.w3.org/1999/xhtml" xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">

	<xsl:template match="authorization/quickAuthorization">
		<xsl:if test="authorized">
			<span>[<a href="/authorization/logout/"><gt>logout</gt></a>]</span>
		</xsl:if>

		<xsl:if test="not(authorized)">
			<form action="/authorization/" name="authorization" id="authorization" method="post">
			<input name="authorizationIsSubmit" type="hidden" value="1"/>
			Логин<br/><input name="login" value="" type="text"/><br/>
			Пароль<br/><input name="password" value="" type="password"/><br/>
			<!--<input name="_f0" value="Войти" type="submit"/><br/>-->
			<img width="100" height="34" border="0" src="{$imagesURL}enter.png" onclick="document.authorization.submit()"/><br/>
			<a href="/registration/"><img width="100" height="34" border="0" src="{$imagesURL}registracia.png"/></a>
			</form>
		</xsl:if>
	</xsl:template>

</xsl:stylesheet>